//
//  NewestViewController.h
//  PCNews
//
//  Created by PengchengWang on 16/3/2.
//  Copyright © 2016年 pengchengWang. All rights reserved.
//

#import "BaseViewController.h"
#import "WMLoopView.h"
#import "URLRequestManager.h"
#import <UIImageView+WebCache.h>
#import "NewsTableViewCell.h"
#import "BaseModel.h"
#import <MJRefresh.h>
#import "ColorWithHex.h"

@interface NewestViewController : BaseViewController
@property(nonatomic,strong)UITableView *tableV;
///轮播图图片数组
@property(nonatomic,strong)NSMutableArray *arrImages;
///轮播图上title
@property(nonatomic,strong)NSMutableArray *arrTitle;
///新闻列表model数组
@property(nonatomic,strong)NSMutableArray *arrAllData;
///数据页数.表示下次请求第几页的数据.
@property (assign, nonatomic) NSInteger lastID;

@property(nonatomic,strong)NSString *upImagesUrl;

@property (nonatomic, strong) UIImageView *topImageView;

@property(nonatomic,strong)NSMutableArray *upImageUrls;

-(void)setBeginViews;

-(void)loopImagesBound;
///绑定tableView数据
-(void)dataBound;
-(void)setViews;
-(void)endRefresh;

@end
